Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove :rdoc Rake task in generated plugin #38574

Merged
merged 1 commit into from
Apr 5, 2020

Conversation

jonathanhefner
Copy link
Member

The rdoc lib command produces nearly the same output as rake rdoc. The rdoc lib command also has the benefit of being standard, whereas Rake subcommands can vary from project to project. Since the purpose of either command is to support local development, as opposed to generating official docs for consumption by e.g. rubygems, the standard command seems preferable.

Note that the rdoc command outputs to the doc/ directory by default, so this commit also adds that directory to the plugin .gitignore file.

Copy link
Member

@rafaelfranca rafaelfranca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the pull request. Can you add a CHANGELOG entry?

@jonathanhefner
Copy link
Member Author

jonathanhefner commented Feb 26, 2020

@rafaelfranca Done!

The `rdoc lib` command produces nearly the same output as `rake rdoc`.
The `rdoc lib` command also has the benefit of being standard, whereas
Rake subcommands can vary from project to project.  Since the purpose of
either command is to support local development, as opposed to generating
official docs for consumption by e.g. rubygems, the standard command
seems preferable.

Note that the `rdoc` command outputs to the doc/ directory by default,
so this commit also adds that directory to the plugin .gitignore file.
@kaspth kaspth merged commit 4174f56 into rails:master Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants